package com.platform.pojo;

import java.util.Date;

/**
 * AccessRecord entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AccessRecord implements java.io.Serializable {

	// Fields

	private Integer id;
	private String ip;
	private Date accessTime;

	// Constructors

	/** default constructor */
	public AccessRecord() {
	}

	/** minimal constructor */
	public AccessRecord(Date accessTime) {
		this.accessTime = accessTime;
	}

	/** full constructor */
	public AccessRecord(String ip, Date accessTime) {
		this.ip = ip;
		this.accessTime = accessTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getAccessTime() {
		return this.accessTime;
	}

	public void setAccessTime(Date accessTime) {
		this.accessTime = accessTime;
	}

}